<!DOCTYPE html>
<html lang="en"  xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>login</title>
</head>
<body>
<h1 align="center">登陆: <p th:text="${msg}"></p></h1>

<form method="post" action="login">
    <table align="center">
        <tr>
            <th>姓名：</th>
            <th><input type="text" name="name"></th>
        </tr>
        <tr>
            <td>密码：</td>
            <td><input type="text" name="password"></td>
        </tr>
        <tr>
            <td>
              <input type="submit" value="登录">
            </td>
        </tr>
    </table>
</form>

</body>
</html>